<#include "../common/header.html">

<body class="skin-blue fixed sidebar-mini" style="height: auto; min-height: 100%;">
<div class="wrapper" style="height: auto; min-height: 100%;">
    <#assign page_tab="tools">
    <#include "tools_menu.html">

    <!--右侧内容 开始-->
    <div id="admin_right" class="content-wrapper">
        <div class="breadcrumbs" id="breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="home-icon fa fa-home"></i>
                    <a href="#">工具</a>
                </li>
                <li>
                    <a href="#">文章管理</a>
                </li>
                <li class="active">文章列表</li>
            </ul>
        </div>
        <div class="content">
            <form action="/tools/article_del" method="post" name="article">
                <table class="table list-table">
                    <colgroup>
                        <col width="35px" />
                        <col width="250px" />
                        <col width="100px" />
                        <col width="150px" />
                        <col width="60px" />
                        <col width="60px" />
                        <col width="60px" />
                        <col width="110px" />
                    </colgroup>
                    <caption>
                        <a class="btn btn-default" href='/admin/tools/article_add'>
                            <i class="fa fa-plus"></i>添加文章
                        </a>
                        <a class="btn btn-default" id="selectAll">
                            <i class="fa fa-check"></i>全选
                        </a>
                        <a class="btn btn-default">
                            <i class="fa fa-close"></i>批量删除
                        </a>
                    </caption>
                    <thead>
                    <tr>
                        <th></th>
                        <th>标题</th>
                        <th>文章分类</th>
                        <th>发布时间</th>
                        <th>展示</th>
                        <th>首页推荐</th>
                        <th>排序</th>
                        <th>操作</th>
                    </tr>
                    </thead>

                    <tbody>
                    <#list pageVo.list as list>
                    <tr>
                        <td><input type="checkbox" name="id" value="7" /></td>
                        <td><a target="_blank" href='/article-7.html' title='查看'><span style="">45543254</span></a></td>
                        <td>${list.title!}</td>
                        <td>${list.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                        <td>是</td>
                        <td>是</td>
                        <td>1</td>
                        <td>
                            <a href='/admin/tools/article_edit/id/${list.id}'><i class='operator fa fa-edit'></i></a>
                            <a target="_blank" href='/article-7.html'><i class='operator fa fa-eye'></i></a>
                            <a data-title="${list.username!}" data-id="${list.userId!}" class="article-delete"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    </#list>
                    </tbody>
                </table>
            </form>
        </div>

        <style>
            .pagination {
                display: inline-block;
                padding-left: 0;
                margin: 10px 0;
                border-radius: 4px;
            }
            .pagination > li {
                display: inline !important;
                width:auto !important;
                height:auto !important;
                border:none !important;
                margin:0 !important;
                padding: 0 !important;
            }
            .pagination > li > a {
                position: relative !important;
                float: left !important;
                padding: 6px 12px !important;
                line-height: 1.42857143 !important;
                text-decoration: none !important;
                color: #337ab7;
                background-color: #fff;
                border: 1px solid #ddd;
                margin-left: -1px !important;
                width:auto !important;
                height:auto !important;
            }
            .pagination > li:first-child > a {
                margin-left: 0 !important;
                border-bottom-left-radius: 4px !important;
                border-top-left-radius: 4px !important;
            }
            .pagination > li:last-child > a {
                border-bottom-right-radius: 4px !important;
                border-top-right-radius: 4px !important;
            }
            .pagination > li > a:hover,
            .pagination > li > a:focus {
                z-index: 2 !important;
                color: #23527c;
                background-color: #eeeeee;
                border-color: #ddd !important;
            }
            .pagination > .active > a,
            .pagination > .active > a:hover,
            .pagination > .active > a:focus {
                z-index: 3 !important;
                color: #fff;
                background-color: #337ab7;
                border-color: #337ab7;
                cursor: default !important;
            }
        </style><div style='clear:both'><ul class='pagination'><li><a href='/tools/article_list?page=1' >首页</a></li><li class='active'><a href='/tools/article_list?page=1' >1</a></li><li><a href='/tools/article_list?page=1' >尾页</a></li><li><a>当前第1页/共1页</a></li></ul></div>
    </div>
    <!--右侧内容 结束-->

</div>
</body>
</html>